package com.software.frontend.mine.entity;

public class SystemNotice {

    private String Notice;
    private int timeLate;

    public SystemNotice(String notice, int timeLate) {
        Notice = notice;
        this.timeLate = timeLate;
    }

    public SystemNotice() {
    }

    public String getNotice() {
        return Notice;
    }

    public void setNotice(String notice) {
        Notice = notice;
    }

    public int getTimeLate() {
        return timeLate;
    }

    public void setTimeLate(int timeLate) {
        if (timeLate < 0){
            this.timeLate = 0;
        }else {
            this.timeLate = timeLate;
        }
    }
}
